<div>
  <div class="modal-card">
    <label>
      仓库分类
    </label>
    <d-cascader [options]="options" [(ngModel)]="data.pathPids" [dropdownPanelClass]="'custom-class'"
      [allowClear]="true" [canSelectParent]="true" class="form-input-box" (ngModelChange)="onChanges($event)"
      [showPath]="true"></d-cascader>
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!stroehouse.warehouseCategoryId">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      仓库编码
    </label>
    <input type="text" dTextInput class="form-input-box" name="departmentCode" [(ngModel)]="stroehouse.warehouseNum">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!stroehouse.warehouseNum">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      仓库名称
    </label>
    <input type="text" dTextInput class="form-input-box" name="name" [(ngModel)]="stroehouse.warehouseName">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!stroehouse.warehouseName">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      是否启用
    </label>
    <d-radio-group [name]="'item-group'" [values]="items" [direction]="'row'" [(ngModel)]="currentSelectedItem"
      (change)="valueChange($event)">
    </d-radio-group>
  </div>
  <div class="modal-card mt-3">
    <label>
      允许负库存
    </label>
    <d-toggle [size]="'sm'" [(ngModel)]="stroehouse.isNegative"></d-toggle>
  </div>

</div>
